import request from '@/utils/request'

export const loginAPI = ({account,password})=> {
    return request({
        url: '/user/login',
        method: 'post',
        data: {
            userCode137:account,
            userPass137: password
        }
    }) 
}
// 注册API
export const registerAPI = (userInfo) => {
  return request({
    url: '/auth/register',
    method: 'post',
    data: userInfo,
  })
}